#include"list.h"

int main()
{
	dlist* plist = ListInit();
	DListPushFront(&plist, 34);
	
	DListPushBack(&plist, 1);
	
	DListPushBack(&plist, 2);
	DListPushFront(&plist, 33);
	DListPushBack(&plist, 3);
	DListPushFront(&plist, 32);
	DListPushBack(&plist, 4);
	DListPushFront(&plist, 31);
	DListPushBack(&plist, 5);
	DListPushFront(&plist, 30);
	DListInsert(&plist, 2, 20);
	DListDel(&plist, 3);
	DListPopBack(&plist);
	DListPopFront(&plist);

	ListPrint(plist);
	return 0;
}